package com.wbk.lottery.feign;

import com.wbk.lottery.qo.LotteryAuditQO;
import com.wbk.lottery.vo.LotteryVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import result.Result;

@Component
@FeignClient(value = "lottery-system-lottery")
public interface LotteryFeign {

    @PostMapping("/feign/admin/lottery/lotteryAudit")
    Result<LotteryVO> lotteryAudit(@RequestBody LotteryAuditQO lotteryAuditQO);

}
